package com.eastedu.report.principal;

import com.eastedu.template.model.ReportData;

import java.util.Map;

/**
 * The interface Report data converter.
 *
 * @param <T> the type parameter
 * @author superman
 */
public interface ReportDataConverter<T extends ReportData> {

    /**
     * Convert t.
     *
     * @param data the data
     * @return the t
     */
    Map<String, Object> convert(T data);
}
